package com.heima.article.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.article.dots.*;
import com.heima.model.article.pojos.ApArticle;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.wemedia.pojos.WmNews;
import freemarker.template.TemplateException;

import java.io.IOException;
import java.util.Date;
import java.util.List;

public interface ApArticleService extends IService<ApArticle> {
    ResponseResult load(ArticleHomeDto dto);

    ResponseResult saveOrUpdateArticleAndConfig(ArticleDto dto);

    ResponseResult collectionBehavior(CollectionBehaviorDto dto);

    ResponseResult loadArticleBehavior(ArticleInfoDto dto);

    ResponseResult loadHot(ArticleHomeDto dto);
}
